@import '../storebase1';
@import '../components/header';
@import '../components/content-item';

.item{
    position: relative;
    display: block;
    background-image: url(../images/fangtunew.ios.jpg);
    background-size: px2rem(250) px2rem(250);
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #f9f9f9;

}

.index-img{
    width: 100%;
    height: px2rem(500);
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.2s linear 0s;
}



.img-des-block{
    width: px2rem(508);
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: px2rem(-254);
    text-align: center;
    background: rgba(255,255,255,.7);
    padding: px2rem(15) px2rem(25);
    p{
        line-height: px2rem(55);
        &:first-child{
            font-size: px2rem(36);
            color: #000;
        }
        &:nth-last-child(1){
            font-size: px2rem(30);
            color: #7b7a7a;
        }
    }
}

h2{
    padding: px2rem(100) 0 px2rem(46);
    text-align: center;
    font-size: px2rem(35);
}

.more{
    display: -webkit-flex;
    display: flex;
    flex-direction:row;
    flex-wrap:wrap;
    justify-content:space-between;
    .more-item{
        background-image: url(../images/fangtunew.ios.jpg);
        background-size: px2rem(150) px2rem(150);
        background-position: center center;
        background-repeat: no-repeat;
        background-color: #f9f9f9;
        position: relative;
        width:49.5%;
        margin-top: 0.8%;
        margin-bottom: 0;
        overflow: hidden;
        height: px2rem(372);
        span{
            position: absolute;
            width: 100%;
            height: px2rem(372);
            line-height: px2rem(372);
            left: 0;
            top: 0;
            background: rgba(0,0,0,.4);
            text-align: center;
            font-size: px2rem(32);
            color: #fff;
        }
    }

    .odd-img{
        //float: left;
        margin-right: 0.5%;
    }
    .even-img{
        //float: right;
        margin-left: 0.5%;
    }
}
